package org.product.entity;

import java.util.Date;
import java.util.List;

/**
 * 留言
 * @author zqx
 * @date 2021-01-04
 */
public class Message {
    private int id ;
    private String title ;
    private String content ;
    private int authorId ;
    private Date messageTime ;

    // 留言 ： 回复 - 1 ： M
    private List<Replay> replayList ;

    public List<Replay> getReplayList() {
        return replayList;
    }

    public void setReplayList(List<Replay> replayList) {
        this.replayList = replayList;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public int getAuthorId() {
        return authorId;
    }

    public void setAuthorId(int authorId) {
        this.authorId = authorId;
    }

    public Date getMessageTime() {
        return messageTime;
    }

    public void setMessageTime(Date messageTime) {
        this.messageTime = messageTime;
    }
}
